package com.ifonly.common;

/**
 * ContentType 映射
 *
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-10 15:22
 * @since JDK 1.6
 */
public enum ContentTypeMapping {

    TEXT_HTML("text/html", "html"),
    TEXT_PLAIN("text/plain", "txt"),
    APPLICATION_JSON("application/json", "json");


    public String contentType;
    public String extension;

    ContentTypeMapping(String contentType, String extension) {
        this.contentType = contentType;
        this.extension = extension;
    }
}
